﻿using FiddlerExUpdate.View;
using System;
using System.Windows.Forms;

namespace FiddlerUpdate
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            args = new string[]{"https://gitee.com/591028872/fiddler-inspectors-ex/releases/download/v1.5.6.0/FiddlerExSetup.exe", "0","1.5.6.0"};


            if (args.Length == 0)
            {
                Application.Run(new Update());
            }
            else
            {
                Application.Run(new Update(args));
            }
        }
    }
}
